.class Lcom/waiqin365/lightapp/product/ea;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/dy;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/dy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/ea;->a:Lcom/waiqin365/lightapp/product/dy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ea;->a:Lcom/waiqin365/lightapp/product/dy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/dy;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ea;->a:Lcom/waiqin365/lightapp/product/dy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/dy;->a(Lcom/waiqin365/lightapp/product/dy;)Lcom/waiqin365/lightapp/product/eg;

    move-result-object v0

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ea;->a:Lcom/waiqin365/lightapp/product/dy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/dy;->b(Lcom/waiqin365/lightapp/product/dy;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v0

    :goto_0
    if-lez v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ea;->a:Lcom/waiqin365/lightapp/product/dy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/dy;->a(Lcom/waiqin365/lightapp/product/dy;)Lcom/waiqin365/lightapp/product/eg;

    move-result-object v1

    invoke-interface {v1, v0}, Lcom/waiqin365/lightapp/product/eg;->a(I)V

    :cond_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/NumberFormatException;->printStackTrace()V

    move v0, v1

    goto :goto_0
.end method
